//
//  SeriesDetailViewController.h
//  ArandaTest
//
//  Created by Camilo Cadena on 2/18/15.
//  Copyright (c) 2015 Camilo Cadena. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SeriesObject.h"

@interface SeriesDetailViewController : UIViewController<UITableViewDataSource, UITableViewDelegate, UIScrollViewDelegate>

@property (nonatomic, strong) SeriesObject *item;

//Series Image and Title
@property (nonatomic, strong) IBOutlet UILabel *tvTitle;
@property (nonatomic, weak) IBOutlet UIImageView *tvSeasonImage;
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *loaderImage;

//Active Season
@property (nonatomic) int seasonId;

//Seasons Scroll View
@property (nonatomic, strong) IBOutlet UIScrollView *seasonsScroll;
@property (nonatomic, strong) IBOutlet UIView *containerView;
@property (nonatomic, strong) NSArray *seasonsArray;

//Episodes Table
@property (nonatomic, strong) IBOutlet UITableView *episodesTable;
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *loaderEpisodes;
@property (nonatomic, strong) NSMutableArray *mainArray;

//No results View
@property (nonatomic, strong) IBOutlet UIView *noResultsView;
-(IBAction)selectedSeasonAction:(id)sender;

@end
